package com.hgwz.spring.api.params;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;

@Data
public class ReqBody implements Serializable {
    @ApiModelProperty("Post参数1")
    @NotEmpty(message = "参数不能为空")
    private String param1;

    @ApiModelProperty("Post参数2")
    @NotEmpty(message = "参数不能为空")
    private String param2;
}
